import Vue from 'vue'
import Router from 'vue-router'
import Write from '@/components/write'
import Home from '@/components/home'
import PageList from '@/components/page-list'
import ArtLogin from '@/components/art-login'
import ArtVerify from '@/components/art-verify'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    }, {
      path: '/write',
      name: 'Write',
      component: Write
    }, {
       path: '/page-list',
      name: 'page-list',
      component: PageList
    }, {
      path: '/art-login',
      name: 'art-login',
      component: ArtLogin
  }, {
     path: '/art-verify',
      name: 'art-verify',
      component: ArtVerify
    }]
})


